package qb.spring.springBean.domain;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 课程
 */
@XmlRootElement(name = "Score")
public class Score {
    private long totalScore ;
    private long mathScore ;
    private long languageScore ;
    private long englishScore ;
    private long comprehensiveScore ;

    public Score(long totalScore, long mathScore, long languageScore, long englishScore, long comprehensiveScore) {
        this.totalScore = totalScore;
        this.mathScore = mathScore;
        this.languageScore = languageScore;
        this.englishScore = englishScore;
        this.comprehensiveScore = comprehensiveScore;
    }

    public long getTotalScore() {
        return totalScore;
    }
    @XmlElement
    public void setTotalScore(long totalScore) {
        this.totalScore = totalScore;
    }

    public long getMathScore() {
        return mathScore;
    }

    @XmlElement
    public void setMathScore(long mathScore) {
        this.mathScore = mathScore;
    }

    public long getLanguageScore() {
        return languageScore;
    }

    @XmlElement
    public void setLanguageScore(long languageScore) {
        this.languageScore = languageScore;
    }

    public long getEnglishScore() {
        return englishScore;
    }

    @XmlElement
    public void setEnglishScore(long englishScore) {
        this.englishScore = englishScore;
    }

    public long getComprehensiveScore() {
        return comprehensiveScore;
    }

    @XmlElement
    public void setComprehensiveScore(long comprehensiveScore) {
        this.comprehensiveScore = comprehensiveScore;
    }
}
